OBJS = operator.o calculate.o main.o
TARGET = calculator
CXX = g++ -std=c++14
CFLAGS = -c -Wall

$(TARGET):$(OBJS)
	$(CXX) $^ -o  $@

%.o:%.cpp
	$(CXX) $(CFLAGS) $^ -o  $@

clean:
	rm -rf $(TARGET) $(OBJS)